namespace utils {
    export function GetOrgTouch(e: egret.TouchEvent): Vec2D {
        let x = e.localX
        let y = e.localY
        let target = e.target as egret.DisplayObject
        while (target && target != e.currentTarget) {
            x += target.x - target.anchorOffsetX
            y += target.y - target.anchorOffsetY
            target = target.parent
        }
        return new Vec2D(x, y)
    }
}